/**
 * 
 */
package STUDENTS.TRANNGOCTU.Sources;

import java.util.Scanner;

/**
 * @author lasta
 *
 */
public class Excersice1_Dowhile {
	public static void main(String[] args) {
		String user;
		String pass;
		Scanner sc ;
		do {
			System.out.println("Nhap Username :");		
			sc = new Scanner(System.in);
			user = sc.nextLine();					
		}while (user.isEmpty());
		
		do {
			System.out.println("Nhap Pass :");
			pass = sc.nextLine();
		}while(pass.isEmpty());
		
			if (user.equals("tutn")&& pass.equals("nothing"))
				System.out.println("Dang nhap thanh cong");
			else System.out.println("Dang nhap khong thanh cong");
		}

}
